package com.hospital.mapper;

import com.hospital.pojo.Ghxxb;
import com.hospital.pojo.GhxxbExample;
import java.util.List;

import com.hospital.pojo.Ksb;
import com.hospital.vo.BaseQueryVo;
import com.hospital.vo.GuahaoResultVo;
import org.apache.ibatis.annotations.Param;

public interface GhxxbMapper {
    long countByExample(GhxxbExample example);

    int deleteByExample(GhxxbExample example);

    int deleteByPrimaryKey(Integer blh);

    int insert(Ghxxb record);

    int insertSelective(Ghxxb record);

    List<Ghxxb> selectByExample(GhxxbExample example);

    Ghxxb selectByPrimaryKey(Integer blh);

    int updateByExampleSelective(@Param("record") Ghxxb record, @Param("example") GhxxbExample example);

    int updateByExample(@Param("record") Ghxxb record, @Param("example") GhxxbExample example);

    int updateByPrimaryKeySelective(Ghxxb record);

    int updateByPrimaryKey(Ghxxb record);

    List<GuahaoResultVo> multiQuery(BaseQueryVo vo);

    int multiTuihao(int[] blhs);

    int multiTuiyuan(List blhs);

    Ksb getKsByDoc(int docId);

    int multiChuyuan(List blhs);
}